<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>物流公司管理</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	#parse('/headFiles.html')
</head>
<body>
<div class="layui-fluid">
   	<div class="layui-form" id="LAY-form">
		<div class="layui-form-item">
			<label class="layui-form-label">公司ID</label>
			#if($id)
			<input type="hidden" name="id" value="$!{id}">
			<div class="layui-form-mid layui-word-aux">$!{id}</div>
			#else
			<div class="layui-input-block">
				<input type="text" class="layui-input" name="id" lay-verify="required" placeholder="请输入物流公司名称" autocomplete="off" value="$!{id}">
			</div>
			#end
		</div>
   		<div class="layui-form-item">
			<label class="layui-form-label">公司名称</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" name="name" lay-verify="required" placeholder="请输入物流公司名称" autocomplete="off" value="$!{name}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">联系人</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" name="contactName" placeholder="请输入物流联系人姓名" autocomplete="off" value="$!{contactName}">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">联系电话</label>
			<div class="layui-input-block">
				<input type="text" class="layui-input" name="contactPhone" placeholder="请输入物流联系电话" autocomplete="off" value="$!{contactPhone}">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">状态</label>
			<div class="layui-input-block">
				<select name="state">
					#foreach($item in $stateList)
					<option value="$!{item.index()}" $!{utils.eq($state,$item.index(),'selected')}>$!{item.note()}</option>
					#end
				</select>
			</div>
		</div>
	    <div class="layui-form-item layui-hide">
	    	<input type="button" lay-submit lay-filter="LAY-form-submit" id="LAY-form-submit" value="确认">
  		</div>
	</div>
</div>
#parse('/footFiles.html')
<script type="text/javascript">
layui.config({
  base: '$!{webRoot}/assets/layuiadmin/'
}).extend({
  index: 'lib/index'
}).use(['index', 'form']);
</script>
</body>
</html>